package com.ayq.activiti.model.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 *
 * <p>id配置器</p>
 * <p>方法名:</p>
 * @Author ayq
 * @Date 2021/3/25 9:09
 */
@Order(0)
@Configuration
public class IdGeneratorConfig {

    @Bean
    public ActivitiIdGenerator getActivitiIdGenerator() {
        return new ActivitiIdGenerator();
    }
}
